package com.linkage.event.pojo.dao;

import com.linkage.event.pojo.entity.EventAttention;
import com.linkage.event.pojo.entity.EventDiscusses;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface EventAttentionMapper {
    int deleteByProblemId(EventAttention attention);

    int insert(EventAttention record);

    int insertSelective(EventAttention record);

    EventAttention selectByPrimaryKey(EventAttention record);

    int updateByPrimaryKeySelective(EventAttention record);

    int updateByPrimaryKey(EventAttention record);

    List<EventDiscusses> queryMyAttention(String userId);
}